-- delay.lua
-- Created by zouyb Jun/05/2015
-- 延迟一段时间, 此时界面上会蒙上UIInvisibleForm, 使玩家无法点击
-- 超时后自动恢复

return {
    run = function(id)    
		local duration = tonumber(DungeonGuideM.query(id, "p1"));
    
		-- 蒙上UIInvisibleForm
		local uiForm = UIInvisibleForm.create(duration);
		UIMgr.getCurrentScene():addForm(uiForm);
    end,
};